﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC12Controller
    /// </summary>
    public class VYC12Controller
    {
        private static VYC12BO _vyc12Bo;
        public VYC12Controller()
        {
            //
            _vyc12Bo = new VYC12BO();
        }
        public List<ModelVYC12> GetAllList()
        {
            return _vyc12Bo.GetAllList();
        }
        public int AddData(ModelVYC12 model)
        {
            return _vyc12Bo.AddData(model);
        }
        public int EditData(ModelVYC12 model)
        {
            return _vyc12Bo.EditData(model);
        }
        public int DeleteData(ModelVYC12 model)
        {
            return _vyc12Bo.DeleteData(model);
        }
        public List<ModelVYC12> GetById(int id)
        {
            return _vyc12Bo.GetById(id);
        }
    }
}